import math

proc score*(pt: (float, float)): int =
  case hypot(pt[0], pt[1])
  of 0..1: 10
  of 1..5: 5
  of 5..10: 1
  else: 0